
class CerSignData {
  String? status;
  String? type;
  String? msg;
  String? cert;
  String? signature;
  String? signId;
  String? pin;

  CerSignData({this.status,this.type, this.msg, this.cert, this.signature, this.signId, this.pin});

  CerSignData.fromJson(Map<String, dynamic> json) {
    if(json["status"] is String) {
      status = json["status"];
    }
     if(json["type"] is String) {
      type = json["type"];
    }
    if(json["msg"] is String) {
      msg = json["msg"];
    }
    if(json["cert"] is String) {
      cert = json["cert"];
    }
    if(json["signature"] is String) {
      signature = json["signature"];
    }
    if(json["signId"] is String) {
      signId = json["signId"];
    }
    if(json["pin"] is String) {
      pin = json["pin"];
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["status"] = status;
    _data["type"] = type;
    _data["msg"] = msg;
    _data["cert"] = cert;
    _data["signature"] = signature;
    _data["signId"] = signId;
    _data["pin"] = pin;
    return _data;
  }
}